.calendar-booking-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.booking-calendar {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  gap: 16px;
}

.current-month {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.today-btn {
  margin-left: 16px;
}

.add-btn {
  margin-left: auto;
  margin-right: 16px;
}

.date-cell-content {
  height: 100px;
  padding: 4px;
  cursor: pointer;
  position: relative;
}

.date-number {
  font-weight: bold;
  margin-bottom: 4px;
}

.events-count {
  position: absolute;
  top: 4px;
  right: 4px;
}

.booking-events {
  overflow: hidden;
  max-height: 80px;
}

.booking-event {
  padding: 2px 4px;
  margin-bottom: 4px;
  background-color: #e6f7ff;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s;
  border-left: 3px solid #1890ff;
}

.booking-event:hover {
  background-color: #bae7ff;
}

.event-time {
  font-size: 12px;
  color: #1890ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-title {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.more-events {
  font-size: 12px;
  color: #666;
  padding: 2px 4px;
  cursor: pointer;
  text-align: center;
}

.more-events-container {
  max-height: 300px;
  overflow-y: auto;
  width: 250px;
}

.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
.ant-picker-cell-in-view.ant-picker-cell-selected:hover .ant-picker-cell-inner {
  background-color: #e6f7ff;
  color: #1890ff;
}

.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
  border-color: #1890ff;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .calendar-booking-container {
    padding: 10px;
  }
  
  .calendar-header {
    flex-wrap: wrap;
    padding: 8px;
  }
  
  .add-btn {
    margin: 8px auto 0;
  }
  
  .date-cell-content {
    height: 80px;
  }
}
    